<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>p6_浮动练习</title>
    <style>
        .center {
            width: 1000px;
            margin: 0 auto;
            background-color: blue;
        }
        .fu1 {
            overflow: hidden;
        }

        .fu2 {
            margin-top: 10px;
            overflow: hidden;
        }

        .z11 {
            width: 611px;
            height: 376px;
            background-color: #808080;
            float: left;
            margin-right: 10px;
        }

        .z12 {
            width: 375px;
            height: 376px;
            background-color: #FFFF00;
            float: left;
        }

        .z21 {
            width: 366px;
            height: 233px;
            background-color: #FF00FF;
            float: left;
            margin-right: 20px;
        }

        .z22 {
            width: 198px;
            height: 233px;
            background-color: #0aa1ed;
            float: left;
            margin-right: 8px;
        }

        .z23 {
            width: 198px;
            height: 233px;
            background-color: #0aa1ed;
            float: left;
            margin-right: 8px;
        }

        .z24 {
            width: 198px;
            height: 233px;
            background-color: #0aa1ed;
            float: left;
        }
    </style>
</head>
<body>
<div class="main">
    <div class="center">
        <div class="fu1">
            <div class="z11"></div>
            <div class="z12"></div>
        </div>

        <div class="fu2">
            <div class="z21"></div>
            <div class="z22"></div>
            <div class="z23"></div>
            <div class="z24"></div>
        </div>
    </div>
</div>

</body>
</html>